/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MyIM.component;

import java.awt.Image;
import java.io.Serializable;
import javax.swing.ImageIcon;

/**
 *
 * @author satthuvdh
 */
public class Friend implements Serializable{

    // Friend should hold the avatar too?
    private int uid;
    private String username;
    private String displayName;
    private boolean status;
    private ImageIcon avatar;

    public Friend(int uid, String username, String displayName, boolean status, ImageIcon avatar) {
        this.uid = uid;
        this.username = username;
        this.displayName = displayName;
        this.status = status;
        this.avatar = avatar;
    }

    public ImageIcon getAvatar() {
        return avatar;
    }

    public String getDisplayName() {
        return displayName;
    }

    public boolean isStatus() {
        return status;
    }

    public String getUsername() {
        return username;
    }

    public int getUid() {
        return uid;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
    
    
    
}
